import request from "@/common/request"

//流程模板管理表分页展示
export const flowabletemplatePage = queryForm => {
	return request("get", "/flowable/flowableTemplate/page", queryForm)
}
//流程模板管理表列表展示
export const flowabletemplateList = queryForm => {
	return request("get", "/flowable/flowableTemplate/list", queryForm)
}
//流程模板管理表详情
export const flowabletemplateInfo = id => {
	return request("get", "/flowable/flowableTemplate/info", {
		id: id,
	})
}
//流程模板管理表信息保存
export const flowabletemplateSave = data => {
	return request("post", "/flowable/flowableTemplate/save", data)
}
//流程模板管理表信息修改
export const flowabletemplateEdit = data => {
	return request("post", "/flowable/flowableTemplate/edit", data)
}
//流程模板管理表信息删除
export const flowabletemplateDel = id => {
	return request("post", "/flowable/flowableTemplate/delete?id=" + id)
}
//流程模板管理表批量删除
export const flowabletemplateDelBatch = ids => {
	return request("post", "/flowable/flowableTemplate/deleteBatch", ids)
}
//流程模板管理表动态表头导出
export const flowabletemplateDynamicExport = data => {
	return request("eptpost", "/flowable/flowableTemplate/exportDynamic", data)
}
//流程模板管理表部署
export const flowabletemplateDeploy = id => {
	return request("get", "/flowable/flowableTemplate/deploy", {
		id: id,
	})
}
